'use strict';

const Controller = require("egg").Controller;

class BookController extends Controller{

    async getBookList(){
        const { ctx } = this;
         let result = await this.ctx.service.book.getBook();
         console.log(result)
    
       
         return await ctx.render("book.html",{result:result})
        
     }



}

module.exports = BookController;

